# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer: ScrumpyJack <scrumpyjack@me.com>
pkgname=xclock
pkgver=1.0.9
pkgrel=0
pkgdesc="Clock for the X Window System"
url="https://www.x.org/"
arch="all"
license="MIT"
makedepends="libx11-dev libxaw-dev libxft-dev libxkbfile-dev libxmu-dev
	libxrender-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--datarootdir=/usr/share
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="fcbac0b4ab1cea4ae0751ce1c0c6302048e5d98d459873c7580e4ca786ec49fa27f73e5831bdfe135abb5cfeabe886456276e9d01351ea7905c606f40f84522d  xclock-1.0.9.tar.bz2"
